<ui:fragment xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">


<style type="text/css">
	.column1{width: 10%;height:auto}
    .column2{width: 10%;height:auto}
    .column3{width: 20px;height:auto}
    .column4{width: 20px;height:auto}
	.column5{width: 20px;height:auto}
	.column6{width: 20px;height:auto}
	.column7{width: 20px;height:auto}
	.column8{width: 20px;height:auto}
</style>

	<div class="row-fluid">
		<div class="span12" >
			<fieldset>
					<h3>
						<h:outputText value="Pessoa" /> 
						<small> <h:outputText value="#{subtitle}" /></small>
					</h3>
			</fieldset>
		</div>
	</div>
	
	
	<h:form id="formNovo" style="margin-top: 2%" rendered="#{pessoaBean.pessoa.id == null}">
		
		<p:panelGrid style="margin-top:20px;width: 100%" columnClasses="column1, column2, column3, column4, column5, column6, column7, column8" > 
			<p:row>
				 <p:column><h:outputLabel value="Código" /></p:column>
				 <p:column colspan="7"><p:outputLabel value="#{pessoaBean.pessoa.id}"/></p:column>
				 
			</p:row>
			<p:row>
				<p:column><h:outputLabel value="Cpf" /></p:column>
				<p:column><h:outputLabel value="coluna2" /></p:column>
				<p:column><h:outputLabel value="coluna3" /></p:column>
				<p:column><h:outputLabel value="Nome" /></p:column>
				<p:column><h:outputLabel value="coluna5" /></p:column>
				<p:column><h:outputLabel value="coluna6" /></p:column>
				<p:column><h:outputLabel value="coluna7" /></p:column>
				<p:column><h:outputLabel value="coluna8" /></p:column>
			</p:row>
			
			
		</p:panelGrid>
		
	</h:form>
	
	<script type="text/javascript">  
	    function handleFimVigenciaContratoRequest(xhr, status, args) {  
	        if(!args.isOk) {  
	            jQuery('#dialogFimVigenciaContrato').effect("shake", { times:3 }, 100);  
	        } else {  
	            jQuery('#dialogFimVigenciaContrato').fadeOut();
	        }  
	    }
	</script> 
</ui:fragment>